<div class="navbar">
  <div class="navbar-inner">
    <div class="container-fluid">
        <!--
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </a>
        -->
        <ul class="nav">
          <li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
              <%=t('menu.transaction.title')%>
              <b class="caret"></b>
            </a>
            <ul class="dropdown-menu">
              <li><%= link_to t('menu.transaction.from_cash.to_category'), transactions_path(:type => Transaction::TRANSACTION_FROM_CASH_TO_CATEGORY)%></li>
              <li><%= link_to t('menu.transaction.from_account.to_cash'), transactions_path(:type => Transaction::TRANSACTION_FROM_ACCOUNT_TO_CASH)%></li>
              <li><%= link_to t('menu.transaction.to_account'), transactions_path(:type => Transaction::TRANSACTION_TO_ACCOUNT)%></li>
              <li><%= link_to t('menu.transaction.to_cash'), transactions_path(:type => Transaction::TRANSACTION_TO_CASH)%></li>
              <li><%= link_to t('menu.transaction.from_cash.to_cash'), transactions_path(:type => Transaction::TRANSACTION_FROM_CASH_TO_CASH)%></li>
              <li><%= link_to t('menu.transaction.from_account.to_category'), transactions_path(:type => Transaction::TRANSACTION_FROM_ACCOUNT_TO_CATEGORY)%></li>
              <li><%= link_to t('menu.transaction.from_account.to_account'), transactions_path(:type => Transaction::TRANSACTION_FROM_ACCOUNT_TO_ACCOUNT)%></li>
              <li><%= link_to t('menu.transaction.from_cash.to_account'), transactions_path(:type => Transaction::TRANSACTION_FROM_CASH_TO_ACCOUNT)%></li>
            </ul>
          </li>
          <li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
              <%=t('menu.statistic.title')%>
              <b class="caret"></b>
            </a>
            <ul class="dropdown-menu">
              <li><%= link_to t('menu.statistic.date'), statistic_date_path %></li>
              <li><%= link_to t('menu.statistic.category'), statistic_category_path %></li>
            </ul>
          </li>
        </ul>
      <div class="nav-collapse">
        <ul class="nav">
          <li><%= link_to t('menu.accounts'), accounts_path(:type => Account::ACCOUNT_CARD_TYPE)%></li>
          <li><%= link_to t('menu.cashes'), accounts_path(:type => Account::ACCOUNT_CASH_TYPE) %></li>
          <li><%= link_to t('menu.categories'), categories_path %></li>
          <li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
              <%=t('menu.fooddiary.title')%>
              <b class="caret"></b>
            </a>
            <ul class="dropdown-menu">
              <li><%= link_to t('menu.fooddiary.tracker'), weights_path %></li>
              <li><%= link_to t('menu.fooddiary.statistic'), statistic_weight_path %></li>
            </ul>
          </li>
        </ul>
        </div>
      </div>
  </div>
</div>


